Skip to content

Conversation

@parthea
Copy link
Contributor

@parthea parthea commented Sep 30, 2025

This PR fixes the following error when running librarian generate --build for a proto-only library such as googleapis-common-protos

Traceback (most recent call last):
  File "/app/./cli.py", line 977, in handle_build
    _verify_library_namespace(library_id, repo)
  File "/app/./cli.py", line 913, in _verify_library_namespace
    raise ValueError(
ValueError: Error: namespace cannot be determined for googleapis-common-protos. Library is missing a `gapic_version.py`.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/./cli.py", line 1404, in <module>
    args.func(librarian=args.librarian, repo=args.repo)
  File "/app/./cli.py", line 981, in handle_build
    raise ValueError("Build failed.") from e
ValueError: Build failed.
time=2025-09-30T09:00:03.583Z level=INFO

@parthea parthea requested review from a team as code owners September 30, 2025 14:42
@parthea parthea requested a review from codyoss September 30, 2025 14:42
@parthea parthea force-pushed the add-namespace-exceptions branch from ee9ff62 to 3395b04 Compare September 30, 2025 14:43
@parthea parthea force-pushed the add-namespace-exceptions branch from 3395b04 to 57150f2 Compare September 30, 2025 14:45
@parthea parthea merged commit ce83729 into main Sep 30, 2025
26 checks passed
@parthea parthea deleted the add-namespace-exceptions branch September 30, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants